/**
 * 
 */
package com.chris.design.pattern.samples.factory;

/**
 * @author shangpan
 * 
 */
public class AmdCpu implements Cpu {

private int pins;
	
	public AmdCpu() {
	}
	
	public AmdCpu(int pins) {
		this();
		this.pins = pins;
	}
	
	@Override
	public void calculate() {
		 System.out.println(AmdCpu.class.getSimpleName() + "== pins=" + pins);
	}

}
